<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/home/include/init_home.jsp" %>
<%
	String golf_id	= StringUtil.nvl(request.getParameter("golf_id"));

	HashMap param = new HashMap();
	param.put("golf_id", golf_id);

	HomeDAO dao = new HomeDAO();


	HashList list = dao.selectGolfList(param);

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HOME_NAME %></title>
<style type="text/css">
</style>
<link href="../css/home.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <%@ include file="/home/include/top_menu.jsp" %>
  <tr>
    <td valign="top" align="center" class="sub_con"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <!--좌측네비 시작-->
        <%@ include file="/home/include/golf_menu.jsp" %>
        <!--좌측네비 끝-->
        <td width="50"></td>
        <!--컨텐츠 시작-->
        <td valign="top" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="../images/sub/06_title_01.gif" alt="골프" width="54" height="31" /><img src="../images/sub/06_title_sub.gif"  height="18" /></td>
                <td align="right" valign="bottom"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" colspan="3"><img src="../images/sub/sub_line.gif" height="5" /></td>
          </tr>
          <tr>
            <td height="30" colspan="3"></td>
          </tr>
          <tr>
            <td colspan="3" class="sub_top_line"></td>
          </tr>
          <tr>
            <td></td>
            <td width="721"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6"></td>
              </tr>
              <tr>
                <td class="sub_title"><%= list.get("golf_name",0) %></td>
              </tr>

			   <tr height="20px"><td></td></tr>
			  <tr>
                <td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="260">
							<img src="<%= list.get("img_path_00",0) %>" width="260" height="180" style="border:3px solid #dddddd"/>
						</td>
                        <td valign="top" style="padding-left:20px">
							<table border="0" cellspacing="0" cellpadding="0">
							<tr>
							  <td width="75px" style="font-size: 13px; line-height:24px; font-weight:bold;">그린피</td>
							  <td><b>:</b> <%= list.get("green_fee",0) %></td>
							</tr>
							<tr>
							  <td style="font-size: 13px;  line-height:24px; font-weight:bold;">총홀수</td>
							  <td><b>:</b> <%= list.get("hole_count",0) %></td>
							</tr>
							<tr>
							  <td style="font-size: 13px;  line-height:24px; font-weight:bold;">파수 </td>
							  <td><b>:</b> <%= list.get("par_count",0) %></td>
							</tr>
							<tr>
							  <td style="font-size: 13px;  line-height:24px; font-weight:bold;">부대시설</td>
                              <td><b>:</b> <%= list.get("golf_envi",0) %></td>
							</tr>
							<tr>
							  <td style="font-size: 13px;  line-height:24px; font-weight:bold;">부대서비스</td>
                              <td><b>:</b> <%= list.get("golf_service",0) %></td>
							</tr>
							<tr>
							  <td style="font-size: 13px;  line-height:24px; font-weight:bold;">주소</td>
                              <td><b>:</b> <%= list.get("addr",0) %></td>
							</tr>
						    </table>
						</td>
                      </tr>
                    </table>
				  </td>
				</tr>

				<tr height="20px"><td></td></tr>



              <tr>
                <td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">

       	<%	if (!"".equals(list.get("golf_desc", 0))) { %>
                      <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_001.gif" alt="상품정보" /></td>
                      </tr>
                      <tr>
                      <!--상품정보 영역-->
                        <td style="padding-top:10px"><%= list.get("golf_desc", 0) %></td>
                      </tr>
                      <tr>
                        <td height="25"></td>
                      </tr>
        <%	} %>
                      <!--객실이미지 시작-->
                      <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_005.gif" alt="포토갤러리"  /></td>
                      </tr>
                      <tr>
                        <td style="padding-top:10px"><%= list.get("golf_pic", 0) %></td>
                      </tr>
                      <!--객실이미지 끝-->
                    </table>
				</td>
              </tr>
              <tr>
                <td height="30"></td>
              </tr>
            </table></td>
            <td></td>
          </tr>
          <tr>
            <td height="60" colspan="3"></td>
          </tr>
        </table></td>
        <!--컨텐츠 끝-->
      </tr>
    </table></td>
  </tr>
  <%@ include file="/home/include/footer.jsp" %>
</table>
</body>
</html>
